package com.flyco.modules.fms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flyco.common.aspect.annotation.Dict;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 费用录入
 * @Author: flyco
 * @Date:   2021-06-21
 * @Version: V1.0
 */
@Data
public class FmsFeeInputModel {
    
	/**id*/
	private Long id;
	/**店铺id*/
	private Long storeId;
	/**收支类型:in/out*/
	private String categoryType;
	/**科目大类id*/
	private Long categoryId;
	/**科目小类id*/
	private Long categorySubId;
	/**对象*/
	private String name;
	/**费用金额*/
	private java.math.BigDecimal amount;
	/**图片,以逗号分割*/
	private Object pics;
	/**发生日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private Date occurTime;
	/**备注*/
	private String note;
	/**9:经理;5:店长;1:导购*/
	private Integer position;
	/**创建人*/
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新人*/
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**分摊期数*/
	private Integer splitCount;
}
